% import time as t
% start_time = t.time()
% title = 'Delete Paste'
% include(top)

% if deleted:
<meta http-equiv="refresh" content="3;url=http://paste.hydra.ws/user">
% end  # (if)

<div class="content center">
	<h1 >{{title}}</h1>
	<div>
% if warning:
		<p>You're about to delete a paste: <b><a href="/p/{{!fileid}}">{{pastetitle}}</a></b></p>
		<p>Are you sure you want to do that?</p>
		<form action="/delete/{{fileid}}" method="post">
			<p><button class="button-error button-large pure-button" value="1" name="delete">Yes, delete paste</button></p>
			<p><button class="button-large pure-button" name="cancel">NO! DON'T DO THAT!</button></p>
		</form>
% else:
		<p>Paste <b>{{pastetitle}}</b> ({{fileid}}) deleted.</b>
% end  # (if)
	</div>
</div>

% include(bottom)
% current_time = t.time()
% time_gen = t.strftime("%D %H:%M:%S", t.localtime(int(current_time)))
% timediff = current_time - start_time
<!-- Generated on {{time_gen}} GMT in {{timediff}} seconds. -->
